import 'package:flutter/cupertino.dart';

class ShareItem{
  // type 1-微博|2-朋友圈|3-微信|4-QQ|5-动弹|6-浏览器|7-复制|8-更多
  static const int TYPE_WEIBO = 1;
  static const int TYPE_FRIEND = 2;
  static const int TYPE_WECHAT = 3;
  static const int TYPE_QQ = 4;
  static const int TYPE_TWEET = 5;
  static const int TYPE_BROWSER = 6;
  static const int TYPE_COPY_URL = 7;
  static const int TYPE_MORE = 8;

  int type;
  String packageName;
  String name;
  String imageName;

  ShareItem({@required int type, @required String title, String packageName, @required String imageName}){
    this.type = type;
    this.name = title;
    this.packageName = packageName;
    this.imageName = imageName;
  }
}